package com.rasou.source;

import java.util.Map;

public class MyConfigSource extends AbstractConfigSource{
    private Map configData;

    public MyConfigSource(String name, int ordinal, Map configData) {
        super(name, ordinal);
        this.configData = configData;
    }

    @Override
    protected Map addConfig(Map data) {
        this.configData.putAll(data);
        return configData;
    }
}
